package com.mes.biz.domain;

import com.mes.common.annotation.Excel;
import com.mes.common.core.domain.BaseEntity;
import com.mes.common.utils.log.annotation.FieldRemark;
import com.mes.common.utils.log.annotation.LogField;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import javax.validation.constraints.NotBlank;
import java.math.BigDecimal;

/**
 * 供应商付款对象 biz_supplier_payable
 * @author hwg
 * @email hwg
 * @date 2023-04-30
 */
@Data
public class BizSupplierPayable extends BaseEntity<BizSupplierPayable>
{
    private static final long serialVersionUID = 1L;

    @FieldRemark(name = "单据编号",field = "payableCode")
    private String payableCode;

    @FieldRemark(name = "供应商编码",field = "supplierCode")
    private String supplierCode;

    @FieldRemark(name = "供应商名称",field = "supplierName")
    private String supplierName;

    @FieldRemark(name = "总金额",field = "totalAmount")
    private BigDecimal totalAmount;

    @FieldRemark(name = "已付金额",field = "payAmount")
    private BigDecimal payAmount;

    @FieldRemark(name = "未付金额",field = "hasAmount")
    private BigDecimal hasAmount;

    @FieldRemark(name = "预付金额",field = "advanceAmount")
    private BigDecimal advanceAmount;

    @FieldRemark(name = "租户id",field = "status")
    private String tenantId;
}
